#!/usr/bin/env python
#coding=utf-8
#author=xiaomayi0323
#date=2009/04/01
#filename=5-6

def automatic():
    x = int(raw_input("enter first number:"))
    y = raw_input("enter opertor:")
    z = int(raw_input("enter second number:"))
    if y == '+':
        return "%d + %d = %d" % (x,z,x+z)
    elif y == '-':
        return "%d - %d = %d" % (x,z,x-z)
    elif y == '*':
        return "%d * %d = %d" % (x,z,x*z)
    elif y == '/':
        return "%d / %d = %d" % (x,z,x/z)
    elif y == '%':
        return "%d % %d = %d" % (x,z,x%z)
    else:
        return "%d ** %d = %d" % (x,z,x**z)
    
print automatic()        